<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<% String msg= (String)request.getAttribute("msg"); %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ユーザー登録</title>
</head>
<body>
	<%if(msg!=null){%>
	
	<%=msg %>
	
	<%} %>
	<form action="<%=request.getContextPath() %>/AddServlet">
	<caption>ユーザー登録</caption>
	<table>
		<tr>
			<td>名前</td>
			<td><input type ="text" name="name" ></td>
		</tr>
		<tr>
			<td>password</td>
			<td><input type ="password" name="password" ></td>
		</tr>
		<tr>
			<td><input type ="submit" value="送信" ></td>
			<td><input type ="reset" value="やり直し" ></td>
		</tr>
	</table>
	</form>
</body>
</html>